//---------------------------------------------------------------------------

#ifndef ClientUnit2H
#define ClientUnit2H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "IdBaseComponent.hpp"
#include "IdCmdTCPClient.hpp"
#include "IdComponent.hpp"
#include "IdContext.hpp"
#include "IdTCPClient.hpp"
#include "IdTCPConnection.hpp"
//---------------------------------------------------------------------------
class TForm2 : public TForm
{
__published:	// IDE-managed Components
   TIdCmdTCPClient *IdCmdTCPClient1;
   TButton *Button1;
   TMemo *Memo1;
   void __fastcall Button1Click(TObject *Sender);
   void __fastcall IdCmdTCPClient1Status(TObject *ASender, const TIdStatus AStatus,
          const UnicodeString AStatusText);
   void __fastcall Memo1KeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
   void __fastcall FormClose(TObject *Sender, TCloseAction &Action);

private:	// User declarations
public:		// User declarations
   __fastcall TForm2(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm2 *Form2;
//---------------------------------------------------------------------------
#endif
